package org.mashibing.service;

import org.mashibing.dto.ResponseResult;
import org.mashibing.response.NumberCodeResponse;
import org.mashibing.response.TokenResponse;

/**
 * @author:
 * @create: 2024/3/20 10:26
 * @description: 验证码服务
 */
public interface VerificationCodeService {

    ResponseResult<NumberCodeResponse> generatorCode(String passenger,int size);

    ResponseResult<TokenResponse> checkCode(String passengerPhone, String verificationCode);
}
